package com.leaf.lowcode.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leaf.lowcode.entity.DoorevenDTO;
import org.apache.ibatis.annotations.Select;


public interface DoorevenMapper extends BaseMapper<DoorevenDTO> {

    @Select("select * from access_inout where event_id = #{eventId} and cert_no=#{certNo}")
   DoorevenDTO selectId(String eventId,String certNo);
}
